<style scoped lang="scss">
</style>
<template>
	<div>
		<web-view v-if="url" :src="url"></web-view>
	</div>
</template>

<script>
	import {
		appDownloadUrl,
		getSysParam,
		centerDept
	} from '_a/sms';
	import appConfig from '@/mixins/appConfig'
	import QRCode from 'qrcode';

	export default {
		name: 'DownApp',
		mixins: [appConfig],
		data() {
			return {
				qrCodeUrl: '',
				url: ''
			};
		},
		computed: {
			appConfig() {
				return this.$store.getters.appConfig || null
			}
		},
		mounted() {
		},
		methods: {
			// 获取配置完后,加载页面逻辑
			loadData() {
				this.getCode();
			},
			getCode() {
				// #ifdef APP-PLUS
				let message = `https://${this.appConfig.appDomain}/pages/home/invitation/down-app`
				console.log('地址--' + message)
				// #endif
				this.url = message
		
			}
		}
	};
</script>